package com.sca.dealf.sentinelhandle;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.sca.dealf.entity.CommonResult;
import com.sca.dealf.entity.Product;

public class CustomerblockHandler {
    public static CommonResult<Product> handleException(Long id, BlockException exception){

        return new CommonResult<Product>(4444,"自定义解耦限流处理类 handleException =================== 1",null);
    }
}
